package ru.rchervot.sanasar.client.rpc;

import ru.rchervot.sanasar.client.model.ItemObject;

import com.google.gwt.user.client.rpc.IsSerializable;


public class GetItemResponse<K extends ItemObject> extends Response implements IsSerializable {
	private K details;
	
	public GetItemResponse() {}
	
	public GetItemResponse(K details) {
		this.details = details;
	}
	
	public K getDetails() {
//		return new K(details); // TODO understand why Ryan create new object here
		return details;
	}

}
